package com.ruoyi.sky.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 菜品口味对象 dish_flavor
 *
 * @author ruoyi
 * @date 2024-07-14
 */
public class DishFlavor extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 菜品id
     */
    @Excel(name = "菜品id")
    private Long dishId;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String name;

    /**
     * 值
     */
    @Excel(name = "值")
    private String value;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setDishId(Long dishId) {
        this.dishId = dishId;
    }

    public Long getDishId() {
        return dishId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("dishId", getDishId())
                .append("name", getName())
                .append("value", getValue())
                .toString();
    }
}
